package com.hnucm.cooklife.bean.search;

import java.util.List;

public class SearchResultData {
    public int code;
    public String msg;
    public Object obj;
    public List<DataDTO> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO{
        private int id;
        private boolean collect;
        private String resultpic;
        private String resultname;
        private double score;
        private int done;
        private String resultheader;
        private String resultauthor;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public boolean isCollect() {
            return collect;
        }

        public void setCollect(boolean collect) {
            this.collect = collect;
        }

        public String getResultpic() {
            return resultpic;
        }

        public void setResultpic(String resultpic) {
            this.resultpic = resultpic;
        }

        public String getResultname() {
            return resultname;
        }

        public void setResultname(String resultname) {
            this.resultname = resultname;
        }

        public double getScore() {
            return score;
        }

        public void setScore(double score) {
            this.score = score;
        }

        public int getDone() {
            return done;
        }

        public void setDone(int done) {
            this.done = done;
        }

        public String getResultheader() {
            return resultheader;
        }

        public void setResultheader(String resultheader) {
            this.resultheader = resultheader;
        }

        public String getResultauthor() {
            return resultauthor;
        }

        public void setResultauthor(String resultauthor) {
            this.resultauthor = resultauthor;
        }
    }
}
